ltbConftitleSon={
	[1]={sn=1,i_type=1,s_name="干土地",s_resName="title_gantudi_",i_resNum=32,i_testSL=32,t_testSL={{["aaa"]=1},{["aaa"]=2}},a_testSL={},m_testSL={},l_testSL={}},
	[2]={sn=2,i_type=1,s_name="泥草地",s_resName="title_nicaodi_",i_resNum=32,i_testSL=32,t_testSL={{["aaa"]=1},{["bbb"]=2},{["ccc"]=3}},a_testSL={},m_testSL={},l_testSL={}},
	[3]={sn=3,i_type=1,s_name="青草地",s_resName="title_qingcaodi_",i_resNum=32,i_testSL=32,t_testSL={{["物品ID"]="数量"},{["物品ID"]="数量"},{["物品ID"]="数量"},{["物品ID"]="数量"}},a_testSL={},m_testSL={},l_testSL={}},
	[4]={sn=4,i_type=1,s_name="深草地",s_resName="title_shencaodi_",i_resNum=32,i_testSL=32,t_testSL={{["1001"]=1},{["1001"]=4},{["1001"]=5},{["1002"]=1}},a_testSL={},m_testSL={},l_testSL={}},
	[5]={sn=5,i_type=1,s_name="湿土地",s_resName="title_shitudi_",i_resNum=32,i_testSL=32,t_testSL={{["aaa"]=1}},a_testSL={},m_testSL={},l_testSL={}},
	[6]={sn=6,i_type=1,s_name="土砖地",s_resName="title_tuzhuandi_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={{"aaa",1,2,3},{"aaa",2,2,4}},m_testSL={},l_testSL={}},
	[7]={sn=7,i_type=1,s_name="浅水",s_resName="title_qianshui_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={"aaa",1,2,3},m_testSL={},l_testSL={1,2,3,4,"你好"}},
	[8]={sn=8,i_type=1,s_name="浅岸边",s_resName="title_qiananbian_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={{1,2,3,4,"你好"},{4,5,6,7,"世界"}}},
	[9]={sn=9,i_type=1,s_name="深水",s_resName="title_shenshui_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={["aaa"]=1,["bbb"]=2},l_testSL={}},
	[10]={sn=10,i_type=1,s_name="潜水岸",s_resName="title_qianshuian_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={["aaa"]=1,["bbb"]=2,["ccc"]=3},l_testSL={}},
	[11]={sn=11,i_type=1,s_name="干土",s_resName="title_gantu_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={["1001"]=1,["1001"]=4,["1001"]=5,["1002"]=1},l_testSL={}},
	[12]={sn=12,i_type=1,s_name="荒土",s_resName="title_huangtu_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[13]={sn=13,i_type=1,s_name="泥土",s_resName="title_nitu_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[14]={sn=14,i_type=1,s_name="湿土",s_resName="title_shitu_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[15]={sn=15,i_type=1,s_name="砖地",s_resName="title_zhuandi_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[16]={sn=16,i_type=1,s_name="干土2",s_resName="title_gantu2_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[17]={sn=17,i_type=2,s_name="干土地3",s_resName="title_gantu3_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[18]={sn=18,i_type=2,s_name="泥土地2",s_resName="title_nitu2_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[19]={sn=19,i_type=2,s_name="泥土地3",s_resName="title_nitu3_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[20]={sn=20,i_type=2,s_name="泥土地4",s_resName="title_nitu4_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[21]={sn=21,i_type=2,s_name="泥土地5",s_resName="title_nitu5_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[22]={sn=22,i_type=2,s_name="岸边",s_resName="title_anbian_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[23]={sn=23,i_type=2,s_name="林地1",s_resName="title_lindi1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[24]={sn=24,i_type=2,s_name="林地2",s_resName="title_lindi2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[25]={sn=25,i_type=2,s_name="林地3",s_resName="title_lindi3_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[26]={sn=26,i_type=2,s_name="浅水",s_resName="title_heshui_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[27]={sn=27,i_type=2,s_name="干土地",s_resName="title_gantu_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[28]={sn=28,i_type=2,s_name="荒土",s_resName="title_huangtu_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[29]={sn=29,i_type=2,s_name="泥土地",s_resName="title_nitu_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[30]={sn=30,i_type=2,s_name="湿土",s_resName="title_shitu_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[31]={sn=31,i_type=2,s_name="砖地",s_resName="title_zhuandi_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[32]={sn=32,i_type=2,s_name="干土地2",s_resName="title_gantu2_",i_resNum=32,i_testSL=32,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[33]={sn=33,i_type=2,s_name="湿土地",s_resName="title_shitudi_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[34]={sn=34,i_type=3,s_name="墓地1    ",s_resName="title_mudi1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[35]={sn=35,i_type=3,s_name="墓地2    ",s_resName="title_mudi2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[36]={sn=36,i_type=3,s_name="湿土地2  ",s_resName="title_shitudi2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[37]={sn=37,i_type=3,s_name="湿土地3  ",s_resName="title_shitudi3_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[38]={sn=38,i_type=3,s_name="湿土地4  ",s_resName="title_shitudi4_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[39]={sn=39,i_type=3,s_name="石头地1  ",s_resName="title_shitoudi1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[40]={sn=40,i_type=3,s_name="石头地2  ",s_resName="title_shitoudi2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[41]={sn=41,i_type=3,s_name="石头地3  ",s_resName="title_shitoudi3_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[42]={sn=42,i_type=3,s_name="沼泽1    ",s_resName="title_zhaoze1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[43]={sn=43,i_type=3,s_name="岸边     ",s_resName="title_anbian_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[44]={sn=44,i_type=3,s_name="干土地   ",s_resName="title_gantu_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[45]={sn=45,i_type=3,s_name="浅水     ",s_resName="title_heshui_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[46]={sn=46,i_type=3,s_name="墓地3    ",s_resName="title_mudi3_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[47]={sn=47,i_type=3,s_name="墓地4    ",s_resName="title_mudi4_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[48]={sn=48,i_type=3,s_name="沼泽2    ",s_resName="title_zhaoze2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[49]={sn=49,i_type=3,s_name="墓地外   ",s_resName="title_mudiwaimian1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[50]={sn=50,i_type=3,s_name="塔楼外   ",s_resName="title_talouiwaimian1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[51]={sn=51,i_type=4,s_name="毒浅水",s_resName="title_duqianshui1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[52]={sn=52,i_type=4,s_name="毒深水",s_resName="title_dushenshui1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[53]={sn=53,i_type=4,s_name="高地1",s_resName="title_gaodi1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[54]={sn=54,i_type=4,s_name="高地2",s_resName="title_gaodi2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[55]={sn=55,i_type=4,s_name="石头路1",s_resName="title_shitoulu1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[56]={sn=56,i_type=4,s_name="石头路2",s_resName="title_shitoulu2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[57]={sn=57,i_type=4,s_name="幽魂之地1",s_resName="title_youhunzhidi1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[58]={sn=58,i_type=4,s_name="幽魂之地2",s_resName="title_youhunzhidi2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[59]={sn=59,i_type=4,s_name="幽魂之地3",s_resName="title_youhunzhidi3_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[60]={sn=60,i_type=4,s_name="幽魂之地4",s_resName="title_youhunzhidi4_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[61]={sn=61,i_type=4,s_name="幽魂之地5",s_resName="title_youhunzhidi5_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[62]={sn=62,i_type=4,s_name="幽魂之地6",s_resName="title_youhunzhidi6_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[63]={sn=63,i_type=5,s_name="岸边1",s_resName="title_tu6anbian1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[64]={sn=64,i_type=5,s_name="岸边地面1",s_resName="title_tu6anbiandi1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[65]={sn=65,i_type=5,s_name="地面1",s_resName="title_tu6dimian1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[66]={sn=66,i_type=5,s_name="地面2",s_resName="title_tu6dimian2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[67]={sn=67,i_type=5,s_name="地面3",s_resName="title_tu6dimian3_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[68]={sn=68,i_type=5,s_name="地面4",s_resName="title_tu6dimian4_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[69]={sn=69,i_type=5,s_name="地面5",s_resName="title_tu6dimian5_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[70]={sn=70,i_type=5,s_name="林地1",s_resName="title_tu6lindi1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[71]={sn=71,i_type=5,s_name="林地2",s_resName="title_tu6lindi2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[72]={sn=72,i_type=5,s_name="林地3",s_resName="title_tu6lindi3_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[73]={sn=73,i_type=5,s_name="林地4",s_resName="title_tu6lindi4_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[74]={sn=74,i_type=5,s_name="沙地1",s_resName="title_tu6shadi1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[75]={sn=75,i_type=5,s_name="沙地2",s_resName="title_tu6shadi2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[76]={sn=76,i_type=5,s_name="沙地3",s_resName="title_tu6shadi3_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[77]={sn=77,i_type=5,s_name="石路",s_resName="title_tu6shilu1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[78]={sn=78,i_type=5,s_name="水浅",s_resName="title_tu6qianshui_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[79]={sn=79,i_type=5,s_name="水深",s_resName="title_tu6shenshui_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[80]={sn=80,i_type=6,s_name="地砖1",s_resName="title_bfc_dizhuan1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[81]={sn=81,i_type=6,s_name="地砖2",s_resName="title_bfc_dizhuan2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[82]={sn=82,i_type=6,s_name="地砖3",s_resName="title_bfc_dizhuan3_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[83]={sn=83,i_type=6,s_name="浅草地",s_resName="title_bfc_caodi1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[84]={sn=84,i_type=6,s_name="浅土地",s_resName="title_bfc_tudi1_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[85]={sn=85,i_type=6,s_name="深草地",s_resName="title_bfc_caodi2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},
	[86]={sn=86,i_type=6,s_name="深土地",s_resName="title_bfc_tudi2_",i_resNum=24,i_testSL=24,t_testSL={},a_testSL={},m_testSL={},l_testSL={}},

}

ltbConftitleSon.get = function( sn )
	local liMax = table.maxn( ltbConftitleSon )
	for i = 1, liMax do
		if sn == ltbConftitleSon[i].sn then
			return ltbConftitleSon[i]
		end
	end

	return nil
end

ltbConftitleSon.getBy = function( ... )
	local ltbCondition = { }
	local ltbResult = { }

	local arg = { ... }
	for k, v in ipairs( arg ) do
		ltbCondition[k] = v
	end

	local liMax		= table.maxn( ltbCondition )
	local liMaxTb	= table.maxn( ltbConftitleSon )
	if liMax % 2 ~= 0 then
		return nil
	end

	local liIndex = 1
	for liIndex = 1, liMaxTb do
		local lbIsMatch = true

		for j = 1, liMax, 2 do
			local lstrKey = ltbCondition[j]
			local lVaule = ltbCondition[j+1]

			if ltbConftitleSon[liIndex][lstrKey] ~= lVaule then
				lbIsMatch = false
				break
			end
		end

		if lbIsMatch then
			return ltbConftitleSon[liIndex]
		end
	end

	return nil
end

ltbConftitleSon.findAll = function( )
	return ltbConftitleSon
end
